package com.yyks.es.dubbo.constants;

public class EsIndexConstant {

    //默认的文档类型
    public static final String NORMAL_TYPE = "_doc";

    //c2b搜索的酒店索引（1）
    public static final String INDEX_HOTEL = "yyks_hotel";

    //c2b搜索的酒店索引（2）
    public static final String INDEX_HOTEL2 = "index_hotel";

    //c2b搜索的酒店路由
    public static final String ROUTING_HOTEL = "hotel";

    //join酒店类型
    public static final String JOIN_TYPE_HOTEL = "hotel";
    //join房间类型
    public static final String JOIN_TYPE_ROOM = "room";
    //join房态类型
    public static final String JOIN_TYPE_CALENDAR = "calendar";

    //数据库酒店ID前缀
    public static final String ID_PREX_YYKS_HOTEL = "yyks_hotel_";
    //数据库房间ID前缀
    public static final String ID_PREX_YYKS_ROOM = "yyks_room_";
    //数据库房态ID前缀
    public static final String ID_PREX_YYKS_CALENDAR = "yyks_calendar_";
    //CNBooking酒店ID前缀
    public static final String ID_PREX_CNBOOKING_HOTEL = "cnbooking_hotel_";
    //CNBooking房间ID前缀
    public static final String ID_PREX_CNBOOKING_ROOM = "cnbooking_room_";
    //CNBooking房态ID前缀
    public static final String ID_PREX_CNBOOKING_CALENDAR = "cnbooking_calendar_";



}
